package com.zhaoyan.okgorxjavademo.injector;

import com.zhaoyan.okgorxjavademo.model.Main;

import dagger.Provides;

/**
 * Created by cxy on 2017/9/13.
 */
@dagger.Module
public class MainModule {
    private Main.View view;

    public MainModule(Main.View view) {
        this.view = view;
    }

    @Provides
    Main.View provideView() {
        return view;
    }
}
